//
//  AddressBookHeadView.m
//  ZKingAddressBook
//
//  Created by zkingsoft on 15/12/24.
//  Copyright (c) 2015年 zkingsoft. All rights reserved.
//

#import "AddressBookHeadView.h"

@implementation AddressBookHeadView

- (instancetype)init{
    self = [super init];
    if (self) {
        self.headLabel = [[UILabel alloc] init];
        [self addSubview:self.headLabel];
        self.backgroundColor = [UIColor colorWithRed:241/255.0 green:241/255.0 blue:241/255.0 alpha:1.0];
        
        [self.headLabel makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.left).offset(20);
            make.top.equalTo(self.top).offset(10);
            make.width.equalTo(60);
        }];
        self.headLabel.textColor = [CommenTool colorWithHexString:@"#4A90E2"];
        self.headLabel.font = [UIFont systemFontOfSize:14];
    }
    
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
